package com.example.hcbmsm.service;

import com.example.hcbmsm.domain.Drug;

import java.util.Map;

/**
 * @author Xinghm
 * @version 1.0
 * @since 2024/11/1 16:35
 */
public interface DrugService {
    Map list();

    Drug getDrug(Long drugId);

    Map listByPage(String drugName, int page, int limit);

    Map add(Drug drug);

    Map renew(Drug drug);

    Map remove(Long drugId);
}
